package com.xiaoshuidi.cloud.framework.hangxin.core.dto;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "RESPONSE_COMMON_FPKJ")
public class InvoicingRespDTO {
    /**
     * 订单号
     **/
    @Schema(description = "订单号")
    @JacksonXmlProperty(localName = "DDH")
    private String DDH;
    /**
     * 发票请求流水号
     **/
    @Schema(description = "发票请求流水号")
    @JacksonXmlProperty(localName = "FPQQLSH")
    private String FPQQLSH;
    /**
     * 税控设备编号
     **/
    @Schema(description = "税控设备编号")
    @JacksonXmlProperty(localName = "JQBH")
    private String JQBH;
    /**
     * 发票代码
     **/
    @Schema(description = "发票代码")
    @JacksonXmlProperty(localName = "FP_DM")
    private String FP_DM;
    /**
     * 发票号码
     **/
    @Schema(description = "发票号码")
    @JacksonXmlProperty(localName = "FP_HM")
    private String FP_HM;
    /**
     * 开票日期
     **/
    @Schema(description = "开票日期")
    @JacksonXmlProperty(localName = "KPRQ")
    private String KPRQ;
    /**
     * 发票密文
     **/
    @Schema(description = "发票密文")
    @JacksonXmlProperty(localName = "FP_MW")
    private String FP_MW;
    /**
     * 校验码
     **/
    @Schema(description = "校验码")
    @JacksonXmlProperty(localName = "JYM")
    private String JYM;
    /**
     * 二维码
     **/
    @Schema(description = "二维码")
    @JacksonXmlProperty(localName = "EWM")
    private String EWM;
    /**
     * URL路径
     **/
    @Schema(description = "URL路径")
    @JacksonXmlProperty(localName = "PDF_URL")
    private String PDF_URL;

    @Schema(description = "URL发票开具状态")
    @JacksonXmlProperty(localName = "FP_STATUS")
    private String FP_STATUS;
    @Schema(description = "开票失败原因")
    @JacksonXmlProperty(localName = "ERROR_MSG")
    private String ERROR_MSG;
}
